//
//  AboutMyController.m
//  HarmonizePub
//
//  Created by rzhy on 2016/11/16.
//  Copyright © 2016年 Zy. All rights reserved.
//

#import "AboutMyController.h"
#import "Config.h"

@interface AboutMyController ()

@property (weak, nonatomic) IBOutlet UIImageView *imageView;
@property (weak, nonatomic) IBOutlet UILabel *versionLabel;

@end

@implementation AboutMyController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    
    self.imageView.hidden = [UserDefaultsTool boolForKey:XHIsDebug];
    
    NSString *key = @"CFBundleShortVersionString";
    NSString *sysVersion = [NSBundle mainBundle].infoDictionary[key];
    NSString *version = [NSString stringWithFormat:@"iOS版本 %@", sysVersion];
    self.versionLabel.text = version;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
